/*
 * Created: Author: Aléx Carvalho / Date: Jan 23, 2015
 * 
 * Changed: $Author: ac280593@gmail.com $ / $Date: 2015-05-15 00:29:31 +0000 (Fri, 15 May 2015) $
 */

package com.cpm.wrapper;

import com.cpm.aggregate.Attribute;
import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class Email implements Attribute<String>{
    
    @Column(length = 100 )
    private String email;

    public Email() {
    }

    public Email(String email) {
        this.email = email;
    }

    @Override
    public String getValue() {
        return email;
    }
}